package com.yuju.upload.dao.entity;

import com.yuju.persist.base.entity.BaseEntity;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class Multimedia extends BaseEntity implements Serializable {
    /**
     *  主键。存储UUID，由应用生成。,所属表字段为sys_multimedia.id
     */
    private String id;

    /**
     *  所属集团。外键，引用集团信息表（grp_group）的主键（id）。,所属表字段为sys_multimedia.group_id
     */
    private String groupId;

    /**
     *  所属酒店。外键，引用酒店信息表（grp_hotel）的主键（id）。,所属表字段为sys_multimedia.hotel_id
     */
    private String hotelId;

    /**
     *  资源链接：指向文件服务器,所属表字段为sys_multimedia.resource_url
     */
    private String resourceUrl;

    /**
     *  文件名,所属表字段为sys_multimedia.file_name
     */
    private String fileName;

    /**
     *  文件大小,所属表字段为sys_multimedia.file_size
     */
    private BigDecimal fileSize;

    /**
     *  资源类型：1图片 2音频 3视频 4文件,所属表字段为sys_multimedia.resource_type
     */
    private Byte resourceType;

    /**
     *  外键，引用资源分类表（sys_multimedia_type）中的组件（id）,所属表字段为sys_multimedia.type_id
     */
    private String typeId;

    /**
     *  引用资源分类表（sys_multimedia_type）中的组件（name）,所属表字段为sys_multimedia.type_name
     */
    private String typeName;

    /**
     *  播放时长,所属表字段为sys_multimedia.duration
     */
    private String duration;

    /**
     *  资源上传渠道：1 PMS系统，2 IMS系统，3 OMS系统，4 微信预订系统，5 文件服务系统,所属表字段为sys_multimedia.channel_type
     */
    private Byte channelType;

    /**
     *  资源上传渠道名称,所属表字段为sys_multimedia.channel_type_name
     */
    private String channelTypeName;

    /**
     *  创建时间,所属表字段为sys_multimedia.gmt_create
     */
    private Date gmtCreate;

    /**
     *  创建用户ID,所属表字段为sys_multimedia.create_user_id
     */
    private String createUserId;

    /**
     *  创建用户名称,所属表字段为sys_multimedia.create_user_name
     */
    private String createUserName;

    /**
     *  更新时间,所属表字段为sys_multimedia.gmt_modified
     */
    private Date gmtModified;

    /**
     *  更新用户ID,所属表字段为sys_multimedia.update_user_id
     */
    private String updateUserId;

    /**
     *  更新用户名称,所属表字段为sys_multimedia.update_user_name
     */
    private String updateUserName;

    private static final long serialVersionUID = 1L;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getGroupId() {
        return groupId;
    }

    public void setGroupId(String groupId) {
        this.groupId = groupId;
    }

    public String getHotelId() {
        return hotelId;
    }

    public void setHotelId(String hotelId) {
        this.hotelId = hotelId;
    }

    public String getResourceUrl() {
        return resourceUrl;
    }

    public void setResourceUrl(String resourceUrl) {
        this.resourceUrl = resourceUrl;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public BigDecimal getFileSize() {
        return fileSize;
    }

    public void setFileSize(BigDecimal fileSize) {
        this.fileSize = fileSize;
    }

    public Byte getResourceType() {
        return resourceType;
    }

    public void setResourceType(Byte resourceType) {
        this.resourceType = resourceType;
    }

    public String getTypeId() {
        return typeId;
    }

    public void setTypeId(String typeId) {
        this.typeId = typeId;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getDuration() {
        return duration;
    }

    public void setDuration(String duration) {
        this.duration = duration;
    }

    public Byte getChannelType() {
        return channelType;
    }

    public void setChannelType(Byte channelType) {
        this.channelType = channelType;
    }

    public String getChannelTypeName() {
        return channelTypeName;
    }

    public void setChannelTypeName(String channelTypeName) {
        this.channelTypeName = channelTypeName;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public String getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(String createUserId) {
        this.createUserId = createUserId;
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    public String getUpdateUserId() {
        return updateUserId;
    }

    public void setUpdateUserId(String updateUserId) {
        this.updateUserId = updateUserId;
    }

    public String getUpdateUserName() {
        return updateUserName;
    }

    public void setUpdateUserName(String updateUserName) {
        this.updateUserName = updateUserName;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", groupId=").append(groupId);
        sb.append(", hotelId=").append(hotelId);
        sb.append(", resourceUrl=").append(resourceUrl);
        sb.append(", fileName=").append(fileName);
        sb.append(", fileSize=").append(fileSize);
        sb.append(", resourceType=").append(resourceType);
        sb.append(", typeId=").append(typeId);
        sb.append(", typeName=").append(typeName);
        sb.append(", duration=").append(duration);
        sb.append(", channelType=").append(channelType);
        sb.append(", channelTypeName=").append(channelTypeName);
        sb.append(", gmtCreate=").append(gmtCreate);
        sb.append(", createUserId=").append(createUserId);
        sb.append(", createUserName=").append(createUserName);
        sb.append(", gmtModified=").append(gmtModified);
        sb.append(", updateUserId=").append(updateUserId);
        sb.append(", updateUserName=").append(updateUserName);
        sb.append("]");
        return sb.toString();
    }
}